using System;
using System.Collections.Generic;
using System.Text;

using SD.LLBLGen.Pro.ORMSupportClasses;
using DatabaseAdapter;
using DatabaseGeneric;
using DatabaseGeneric.FactoryClasses;
using DatabaseGeneric.EntityClasses;
using DatabaseGeneric.RelationClasses;
using DatabaseGeneric.HelperClasses;

namespace Interfaces
{
    public interface ILoginLogout
    {
        EntityCollection<LoginLogoutEntity> FetchCollection();
        LoginLogoutEntity FetchEntity(LoginLogoutEntity currentEntityLoginLogout);
        int SaveCollection(EntityCollection<LoginLogoutEntity> currentCollectionLoginLogout);
        bool SaveEntity(LoginLogoutEntity currentEntityLoginLogout);
        int DeleteCollection(EntityCollection<LoginLogoutEntity> currentCollectionLoginLogout);
        bool DeleteEntity(LoginLogoutEntity currentEntityLoginLogout);
        System.Data.DataTable LoginByUsername(string username);
        System.Data.DataTable LoginByPassword(string username);
    }
}
